<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Copyright Microsoft Corporation. All Rights Reserved, 2002 -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>13_7_1-BF-01</title>
</head>
<body>

<div class="TestPurpose">Verify width and height attributes for IMG and OBJECT</div>
<div class="AssertionsTested">Test for assertions 13.7.1-1 and 13.7.1-2</div>
<div class='FilesTested'>File: 13_7_1-BF-01.html</div>
<pre style='border: 1px solid black; padding: 5px'>
<strong>Source</strong>
&lt;div&gt;
&lt;p&gt;There shall be a PNG image with height of 100 pixels and width of 100 pixels following this sentence.&lt;/p&gt;
&lt;img src=&quot;image.png&quot; alt=&quot;PNG image&quot; /&gt;

&lt;p&gt;There shall be a PNG image with height of 50 pixels and width of 50 pixels following this sentence.&lt;/p&gt;
&lt;object data=&quot;image.png&quot; type=&quot;image/png&quot; height=&quot;50&quot; width=&quot;50&quot;&gt;&lt;/object&gt;

&lt;p&gt;There shall be a PNG image with height of 100 pixels and width of 50 pixels following this sentence.&lt;/p&gt;
&lt;img src=&quot;image.png&quot; height=&quot;100&quot; width=&quot;50&quot; alt=&quot;PNG image with width and height specified&quot; /&gt;

&lt;p&gt;There shall be a PNG image with height of 100 pixels and width of 50 pixels following this sentence.&lt;/p&gt;
&lt;object data=&quot;image.png&quot; type=&quot;image/png&quot; height=&quot;100&quot; width=&quot;50&quot;&gt;&lt;/object&gt;
&lt;/div&gt;
</pre>


<div>
<p>There shall be a PNG image with height of 100 pixels and width of 100 pixels following this sentence.</p>
<img src="image.png" alt="PNG image" />

<p>There shall be a PNG image with height of 50 pixels and width of 50 pixels following this sentence.</p>
<object data="image.png" type="image/png" height="50" width="50"></object>

<p>There shall be a PNG image with height of 100 pixels and width of 50 pixels following this sentence.</p>
<img src="image.png" height="100" width="50" alt="PNG image with width and height specified" />

<p>There shall be a PNG image with height of 100 pixels and width of 50 pixels following this sentence.</p>
<object data="image.png" type="image/png" height="100" width="50"></object>
</div>

</body>
</html>
